//
//  ShellAboutUSViewController.m
//  ShellWallert
//
//  Created by lvzhao on 2019/9/26.
//  Copyright © 2019年 VV. All rights reserved.
//

#import "ShellAboutUSViewController.h"

@interface ShellAboutUSViewController ()




@end

@implementation ShellAboutUSViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = LZLocalizedString(@"TRITON LAB");
    
    [self setupUI];
    // Do any additional setup after loading the view.
}


- (void)setupUI{
    
    
    self.webView.backgroundColor = COLOR_BACKGROUND;
    
    
    
    
//
//    NSString *replyContent = [NSString stringWithFormat:@"<head><style>img{width:%f !important;height:auto}</style></head>%@",K_SCREENWIDTH - 50,@"       Shell(贝壳)志在构建一个基于数字货币USDT共识价值的服务型技术平台，使资金在全球不同国家快速流通，解决不同国家之间货币流通时间久、费用高的问题，服务国际贸易及有跨国资金往来的企业，加速企业全球化进程"];
//    NSMutableAttributedString *answerAttributedString = [[NSMutableAttributedString alloc] initWithData:[replyContent dataUsingEncoding:NSUnicodeStringEncoding]
//                                                                                                options:@{NSDocumentTypeDocumentAttribute:NSHTMLTextDocumentType}
//                                                                                     documentAttributes:nil error:nil];
//
//
//    UITextView *textView = [[UITextView alloc] init];
//    textView.editable = NO;
//    textView.showsVerticalScrollIndicator = NO;
//    textView.attributedText = answerAttributedString;
//    textView.backgroundColor = self.view.backgroundColor;
//    CGFloat contentHeight = [textView sizeThatFits:CGSizeMake(K_SCREENWIDTH-50, MAXFLOAT)].height;
//    [self.view addSubview:textView];
//    [textView mas_makeConstraints:^(MASConstraintMaker *make) {
//        make.left.mas_equalTo(25);
//        make.width.mas_equalTo(K_SCREENWIDTH - 50);
//        make.top.mas_equalTo(73);
//        make.height.mas_equalTo(contentHeight);
//    }];
//
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
